<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>服务地址管理</title>
<%@include file="/WEB-INF/common/headeradmin.jsp" %>
</head>
<body class="easyui-layout">
	<div data-options="region:'center'">
		<table id="city1"></table>
	</div>
	
	<script type="text/javascript">
	$("#city1").treegrid({
		url: root+"/admin/config/address/find",
		columns:[[
			{title:"编号", field:"id", width: 100},
			{title:"名称", field:"text", width: 100},
			{title:"级别", field:"lvl", width: 100},
			{title:"区号", field:"ccode", width: 100},
			{title:"邮编", field:"zcode", width: 100},
			{title:"经度", field:"lng", width: 100},
			{title:"纬度", field:"lat", width: 100},
			{title:"拼音", field:"pinyin", width: 100}
		]],
		idField:"id",
		treeField:"text",
		fitColumns:true,
		fit:true,
		singleSelect:true,
		border:false
	});
	</script>
</body>
</html>